package com.ruoyi.system.domain.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TProjectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TProjectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andProjectNumIsNull() {
            addCriterion("project_num is null");
            return (Criteria) this;
        }

        public Criteria andProjectNumIsNotNull() {
            addCriterion("project_num is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNumEqualTo(String value) {
            addCriterion("project_num =", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumNotEqualTo(String value) {
            addCriterion("project_num <>", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumGreaterThan(String value) {
            addCriterion("project_num >", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumGreaterThanOrEqualTo(String value) {
            addCriterion("project_num >=", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumLessThan(String value) {
            addCriterion("project_num <", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumLessThanOrEqualTo(String value) {
            addCriterion("project_num <=", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumLike(String value) {
            addCriterion("project_num like", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumNotLike(String value) {
            addCriterion("project_num not like", value, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumIn(List<String> values) {
            addCriterion("project_num in", values, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumNotIn(List<String> values) {
            addCriterion("project_num not in", values, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumBetween(String value1, String value2) {
            addCriterion("project_num between", value1, value2, "projectNum");
            return (Criteria) this;
        }

        public Criteria andProjectNumNotBetween(String value1, String value2) {
            addCriterion("project_num not between", value1, value2, "projectNum");
            return (Criteria) this;
        }

        public Criteria andTopicNameIsNull() {
            addCriterion("topic_name is null");
            return (Criteria) this;
        }

        public Criteria andTopicNameIsNotNull() {
            addCriterion("topic_name is not null");
            return (Criteria) this;
        }

        public Criteria andTopicNameEqualTo(String value) {
            addCriterion("topic_name =", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameNotEqualTo(String value) {
            addCriterion("topic_name <>", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameGreaterThan(String value) {
            addCriterion("topic_name >", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameGreaterThanOrEqualTo(String value) {
            addCriterion("topic_name >=", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameLessThan(String value) {
            addCriterion("topic_name <", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameLessThanOrEqualTo(String value) {
            addCriterion("topic_name <=", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameLike(String value) {
            addCriterion("topic_name like", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameNotLike(String value) {
            addCriterion("topic_name not like", value, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameIn(List<String> values) {
            addCriterion("topic_name in", values, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameNotIn(List<String> values) {
            addCriterion("topic_name not in", values, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameBetween(String value1, String value2) {
            addCriterion("topic_name between", value1, value2, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicNameNotBetween(String value1, String value2) {
            addCriterion("topic_name not between", value1, value2, "topicName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameIsNull() {
            addCriterion("topic_short_name is null");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameIsNotNull() {
            addCriterion("topic_short_name is not null");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameEqualTo(String value) {
            addCriterion("topic_short_name =", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameNotEqualTo(String value) {
            addCriterion("topic_short_name <>", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameGreaterThan(String value) {
            addCriterion("topic_short_name >", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameGreaterThanOrEqualTo(String value) {
            addCriterion("topic_short_name >=", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameLessThan(String value) {
            addCriterion("topic_short_name <", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameLessThanOrEqualTo(String value) {
            addCriterion("topic_short_name <=", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameLike(String value) {
            addCriterion("topic_short_name like", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameNotLike(String value) {
            addCriterion("topic_short_name not like", value, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameIn(List<String> values) {
            addCriterion("topic_short_name in", values, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameNotIn(List<String> values) {
            addCriterion("topic_short_name not in", values, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameBetween(String value1, String value2) {
            addCriterion("topic_short_name between", value1, value2, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTopicShortNameNotBetween(String value1, String value2) {
            addCriterion("topic_short_name not between", value1, value2, "topicShortName");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Byte value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Byte value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Byte value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Byte value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Byte value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Byte> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Byte> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Byte value1, Byte value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNull() {
            addCriterion("category is null");
            return (Criteria) this;
        }

        public Criteria andCategoryIsNotNull() {
            addCriterion("category is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryEqualTo(String value) {
            addCriterion("category =", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotEqualTo(String value) {
            addCriterion("category <>", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThan(String value) {
            addCriterion("category >", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryGreaterThanOrEqualTo(String value) {
            addCriterion("category >=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThan(String value) {
            addCriterion("category <", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLessThanOrEqualTo(String value) {
            addCriterion("category <=", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryLike(String value) {
            addCriterion("category like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotLike(String value) {
            addCriterion("category not like", value, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryIn(List<String> values) {
            addCriterion("category in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotIn(List<String> values) {
            addCriterion("category not in", values, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryBetween(String value1, String value2) {
            addCriterion("category between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andCategoryNotBetween(String value1, String value2) {
            addCriterion("category not between", value1, value2, "category");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(Date value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(Date value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(Date value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(Date value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<Date> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<Date> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(Date value1, Date value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andProjectYearIsNull() {
            addCriterion("project_year is null");
            return (Criteria) this;
        }

        public Criteria andProjectYearIsNotNull() {
            addCriterion("project_year is not null");
            return (Criteria) this;
        }

        public Criteria andProjectYearEqualTo(String value) {
            addCriterion("project_year =", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearNotEqualTo(String value) {
            addCriterion("project_year <>", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearGreaterThan(String value) {
            addCriterion("project_year >", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearGreaterThanOrEqualTo(String value) {
            addCriterion("project_year >=", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearLessThan(String value) {
            addCriterion("project_year <", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearLessThanOrEqualTo(String value) {
            addCriterion("project_year <=", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearLike(String value) {
            addCriterion("project_year like", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearNotLike(String value) {
            addCriterion("project_year not like", value, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearIn(List<String> values) {
            addCriterion("project_year in", values, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearNotIn(List<String> values) {
            addCriterion("project_year not in", values, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearBetween(String value1, String value2) {
            addCriterion("project_year between", value1, value2, "projectYear");
            return (Criteria) this;
        }

        public Criteria andProjectYearNotBetween(String value1, String value2) {
            addCriterion("project_year not between", value1, value2, "projectYear");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitIsNull() {
            addCriterion("leading_unit is null");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitIsNotNull() {
            addCriterion("leading_unit is not null");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitEqualTo(String value) {
            addCriterion("leading_unit =", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitNotEqualTo(String value) {
            addCriterion("leading_unit <>", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitGreaterThan(String value) {
            addCriterion("leading_unit >", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitGreaterThanOrEqualTo(String value) {
            addCriterion("leading_unit >=", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitLessThan(String value) {
            addCriterion("leading_unit <", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitLessThanOrEqualTo(String value) {
            addCriterion("leading_unit <=", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitLike(String value) {
            addCriterion("leading_unit like", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitNotLike(String value) {
            addCriterion("leading_unit not like", value, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitIn(List<String> values) {
            addCriterion("leading_unit in", values, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitNotIn(List<String> values) {
            addCriterion("leading_unit not in", values, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitBetween(String value1, String value2) {
            addCriterion("leading_unit between", value1, value2, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andLeadingUnitNotBetween(String value1, String value2) {
            addCriterion("leading_unit not between", value1, value2, "leadingUnit");
            return (Criteria) this;
        }

        public Criteria andPersonIsNull() {
            addCriterion("person is null");
            return (Criteria) this;
        }

        public Criteria andPersonIsNotNull() {
            addCriterion("person is not null");
            return (Criteria) this;
        }

        public Criteria andPersonEqualTo(String value) {
            addCriterion("person =", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonNotEqualTo(String value) {
            addCriterion("person <>", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonGreaterThan(String value) {
            addCriterion("person >", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonGreaterThanOrEqualTo(String value) {
            addCriterion("person >=", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonLessThan(String value) {
            addCriterion("person <", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonLessThanOrEqualTo(String value) {
            addCriterion("person <=", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonLike(String value) {
            addCriterion("person like", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonNotLike(String value) {
            addCriterion("person not like", value, "person");
            return (Criteria) this;
        }

        public Criteria andPersonIn(List<String> values) {
            addCriterion("person in", values, "person");
            return (Criteria) this;
        }

        public Criteria andPersonNotIn(List<String> values) {
            addCriterion("person not in", values, "person");
            return (Criteria) this;
        }

        public Criteria andPersonBetween(String value1, String value2) {
            addCriterion("person between", value1, value2, "person");
            return (Criteria) this;
        }

        public Criteria andPersonNotBetween(String value1, String value2) {
            addCriterion("person not between", value1, value2, "person");
            return (Criteria) this;
        }

        public Criteria andChargeDeptIsNull() {
            addCriterion("charge_dept is null");
            return (Criteria) this;
        }

        public Criteria andChargeDeptIsNotNull() {
            addCriterion("charge_dept is not null");
            return (Criteria) this;
        }

        public Criteria andChargeDeptEqualTo(String value) {
            addCriterion("charge_dept =", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptNotEqualTo(String value) {
            addCriterion("charge_dept <>", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptGreaterThan(String value) {
            addCriterion("charge_dept >", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptGreaterThanOrEqualTo(String value) {
            addCriterion("charge_dept >=", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptLessThan(String value) {
            addCriterion("charge_dept <", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptLessThanOrEqualTo(String value) {
            addCriterion("charge_dept <=", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptLike(String value) {
            addCriterion("charge_dept like", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptNotLike(String value) {
            addCriterion("charge_dept not like", value, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptIn(List<String> values) {
            addCriterion("charge_dept in", values, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptNotIn(List<String> values) {
            addCriterion("charge_dept not in", values, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptBetween(String value1, String value2) {
            addCriterion("charge_dept between", value1, value2, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeDeptNotBetween(String value1, String value2) {
            addCriterion("charge_dept not between", value1, value2, "chargeDept");
            return (Criteria) this;
        }

        public Criteria andChargeEmailIsNull() {
            addCriterion("charge_email is null");
            return (Criteria) this;
        }

        public Criteria andChargeEmailIsNotNull() {
            addCriterion("charge_email is not null");
            return (Criteria) this;
        }

        public Criteria andChargeEmailEqualTo(String value) {
            addCriterion("charge_email =", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailNotEqualTo(String value) {
            addCriterion("charge_email <>", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailGreaterThan(String value) {
            addCriterion("charge_email >", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailGreaterThanOrEqualTo(String value) {
            addCriterion("charge_email >=", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailLessThan(String value) {
            addCriterion("charge_email <", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailLessThanOrEqualTo(String value) {
            addCriterion("charge_email <=", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailLike(String value) {
            addCriterion("charge_email like", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailNotLike(String value) {
            addCriterion("charge_email not like", value, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailIn(List<String> values) {
            addCriterion("charge_email in", values, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailNotIn(List<String> values) {
            addCriterion("charge_email not in", values, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailBetween(String value1, String value2) {
            addCriterion("charge_email between", value1, value2, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargeEmailNotBetween(String value1, String value2) {
            addCriterion("charge_email not between", value1, value2, "chargeEmail");
            return (Criteria) this;
        }

        public Criteria andChargePostIsNull() {
            addCriterion("charge_post is null");
            return (Criteria) this;
        }

        public Criteria andChargePostIsNotNull() {
            addCriterion("charge_post is not null");
            return (Criteria) this;
        }

        public Criteria andChargePostEqualTo(String value) {
            addCriterion("charge_post =", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostNotEqualTo(String value) {
            addCriterion("charge_post <>", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostGreaterThan(String value) {
            addCriterion("charge_post >", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostGreaterThanOrEqualTo(String value) {
            addCriterion("charge_post >=", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostLessThan(String value) {
            addCriterion("charge_post <", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostLessThanOrEqualTo(String value) {
            addCriterion("charge_post <=", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostLike(String value) {
            addCriterion("charge_post like", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostNotLike(String value) {
            addCriterion("charge_post not like", value, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostIn(List<String> values) {
            addCriterion("charge_post in", values, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostNotIn(List<String> values) {
            addCriterion("charge_post not in", values, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostBetween(String value1, String value2) {
            addCriterion("charge_post between", value1, value2, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePostNotBetween(String value1, String value2) {
            addCriterion("charge_post not between", value1, value2, "chargePost");
            return (Criteria) this;
        }

        public Criteria andChargePhoneIsNull() {
            addCriterion("charge_phone is null");
            return (Criteria) this;
        }

        public Criteria andChargePhoneIsNotNull() {
            addCriterion("charge_phone is not null");
            return (Criteria) this;
        }

        public Criteria andChargePhoneEqualTo(String value) {
            addCriterion("charge_phone =", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneNotEqualTo(String value) {
            addCriterion("charge_phone <>", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneGreaterThan(String value) {
            addCriterion("charge_phone >", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("charge_phone >=", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneLessThan(String value) {
            addCriterion("charge_phone <", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneLessThanOrEqualTo(String value) {
            addCriterion("charge_phone <=", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneLike(String value) {
            addCriterion("charge_phone like", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneNotLike(String value) {
            addCriterion("charge_phone not like", value, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneIn(List<String> values) {
            addCriterion("charge_phone in", values, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneNotIn(List<String> values) {
            addCriterion("charge_phone not in", values, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneBetween(String value1, String value2) {
            addCriterion("charge_phone between", value1, value2, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andChargePhoneNotBetween(String value1, String value2) {
            addCriterion("charge_phone not between", value1, value2, "chargePhone");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Byte value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Byte value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Byte value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Byte value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Byte value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Byte> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Byte> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Byte value1, Byte value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andSptStatusIsNull() {
            addCriterion("spt_status is null");
            return (Criteria) this;
        }

        public Criteria andSptStatusIsNotNull() {
            addCriterion("spt_status is not null");
            return (Criteria) this;
        }

        public Criteria andSptStatusEqualTo(Byte value) {
            addCriterion("spt_status =", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusNotEqualTo(Byte value) {
            addCriterion("spt_status <>", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusGreaterThan(Byte value) {
            addCriterion("spt_status >", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("spt_status >=", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusLessThan(Byte value) {
            addCriterion("spt_status <", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusLessThanOrEqualTo(Byte value) {
            addCriterion("spt_status <=", value, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusIn(List<Byte> values) {
            addCriterion("spt_status in", values, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusNotIn(List<Byte> values) {
            addCriterion("spt_status not in", values, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusBetween(Byte value1, Byte value2) {
            addCriterion("spt_status between", value1, value2, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andSptStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("spt_status not between", value1, value2, "sptStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusIsNull() {
            addCriterion("nfw_status is null");
            return (Criteria) this;
        }

        public Criteria andNfwStatusIsNotNull() {
            addCriterion("nfw_status is not null");
            return (Criteria) this;
        }

        public Criteria andNfwStatusEqualTo(Byte value) {
            addCriterion("nfw_status =", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusNotEqualTo(Byte value) {
            addCriterion("nfw_status <>", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusGreaterThan(Byte value) {
            addCriterion("nfw_status >", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("nfw_status >=", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusLessThan(Byte value) {
            addCriterion("nfw_status <", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusLessThanOrEqualTo(Byte value) {
            addCriterion("nfw_status <=", value, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusIn(List<Byte> values) {
            addCriterion("nfw_status in", values, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusNotIn(List<Byte> values) {
            addCriterion("nfw_status not in", values, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusBetween(Byte value1, Byte value2) {
            addCriterion("nfw_status between", value1, value2, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andNfwStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("nfw_status not between", value1, value2, "nfwStatus");
            return (Criteria) this;
        }

        public Criteria andFileIsNull() {
            addCriterion("file is null");
            return (Criteria) this;
        }

        public Criteria andFileIsNotNull() {
            addCriterion("file is not null");
            return (Criteria) this;
        }

        public Criteria andFileEqualTo(String value) {
            addCriterion("file =", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotEqualTo(String value) {
            addCriterion("file <>", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThan(String value) {
            addCriterion("file >", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThanOrEqualTo(String value) {
            addCriterion("file >=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThan(String value) {
            addCriterion("file <", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThanOrEqualTo(String value) {
            addCriterion("file <=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLike(String value) {
            addCriterion("file like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotLike(String value) {
            addCriterion("file not like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileIn(List<String> values) {
            addCriterion("file in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotIn(List<String> values) {
            addCriterion("file not in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileBetween(String value1, String value2) {
            addCriterion("file between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotBetween(String value1, String value2) {
            addCriterion("file not between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNull() {
            addCriterion("del_flag is null");
            return (Criteria) this;
        }

        public Criteria andDelFlagIsNotNull() {
            addCriterion("del_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDelFlagEqualTo(Byte value) {
            addCriterion("del_flag =", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotEqualTo(Byte value) {
            addCriterion("del_flag <>", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThan(Byte value) {
            addCriterion("del_flag >", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("del_flag >=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThan(Byte value) {
            addCriterion("del_flag <", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagLessThanOrEqualTo(Byte value) {
            addCriterion("del_flag <=", value, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagIn(List<Byte> values) {
            addCriterion("del_flag in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotIn(List<Byte> values) {
            addCriterion("del_flag not in", values, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagBetween(Byte value1, Byte value2) {
            addCriterion("del_flag between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andDelFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("del_flag not between", value1, value2, "delFlag");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(String value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(String value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(String value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(String value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(String value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(String value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLike(String value) {
            addCriterion("create_by like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotLike(String value) {
            addCriterion("create_by not like", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<String> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<String> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(String value1, String value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(String value1, String value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNull() {
            addCriterion("update_by is null");
            return (Criteria) this;
        }

        public Criteria andUpdateByIsNotNull() {
            addCriterion("update_by is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateByEqualTo(String value) {
            addCriterion("update_by =", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotEqualTo(String value) {
            addCriterion("update_by <>", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThan(String value) {
            addCriterion("update_by >", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByGreaterThanOrEqualTo(String value) {
            addCriterion("update_by >=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThan(String value) {
            addCriterion("update_by <", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLessThanOrEqualTo(String value) {
            addCriterion("update_by <=", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByLike(String value) {
            addCriterion("update_by like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotLike(String value) {
            addCriterion("update_by not like", value, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByIn(List<String> values) {
            addCriterion("update_by in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotIn(List<String> values) {
            addCriterion("update_by not in", values, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByBetween(String value1, String value2) {
            addCriterion("update_by between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateByNotBetween(String value1, String value2) {
            addCriterion("update_by not between", value1, value2, "updateBy");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}